{% extends 'layouts/base.html' %}
{% block content %}
<div class="row">
    <div class="col-xs-12">
        <form class="form-horizontal"  method="post" action="{{ url('backend/weixinapi/menu') }}" role="form" >
         <div class="form-group">
           <label  class="col-sm-2 control-label">接口类型:</label>
           <div class="col-sm-5">
               <select class="form-control" name="type">
                   <option value="/menu/create">创建</option>
                   <option value="/menu/get">查询</option>
                   <option value="/menu/delete">删除</option>
               </select>
           </div>
         </div>
         <div class="form-group">
            <label class="col-sm-2 control-label">access_token:</label>
             <div class="col-sm-5">
                 <input type="text" class="form-control"  name="token" placeholder="请输入" value="{{token}}">
             </div>    
         </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">body:</label>
            <div class="col-sm-5">
                <textarea class="form-control" rows="6" name="body"></textarea>
            </div>    
         </div>   
         <div class="form-group">
           <div class="col-sm-offset-2 col-sm-7">
             <button type="submit" class="btn btn-info">提交</button>
           </div>
         </div>
         <input type="hidden" value="1" name="act">   
       </form>       
    </div>    
</div>

{% endblock %}